﻿@model List<KRM.Core.vWebEmailTicket>

@{
    ViewBag.Title = "title";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/js/ticket.js"></script>
<div style="padding-top: 10px">
    <ul class="tabs tabs-inline tabs-top ticket-tabs" id="tabViewTicket">
        <li class="active">
            <a href="#currentticket" data-toggle="tab">CurrentTicket</a>
        </li>
    </ul>
    <div class="tab-content padding tab-content-inline tab-content-bottom orderdetail-task-tabs-content" id="tabpanel-viewticket">
        <div class="tab-pane active" id="currentticket">
            <div class="row-fluid">
                <div class="span3">
                    <div class="border-padding10 margin0" style="background: #F7F7F7">
                        <ul class="ticket-filter">
                            <li>
                                <a onclick="FilterTicket(1)" href="javascript:;">Your unsolved tickets
                                <span class="count-ticket">@ViewBag.YourUnsolvedTickets</span></a>
                            </li>
                            <li>
                                <a onclick="FilterTicket(2)" href="javascript:;">Unassigned tickets
                                <span class="count-ticket">@ViewBag.UnassignedTickets</span></a>
                            </li>
                            <li>
                                <a onclick="FilterTicket(3)"  href="javascript:;">All unsolved tickets
                                <span class="count-ticket">@ViewBag.AllUnsolvedTickets</span></a>
                            </li>
                            <li>
                                <a onclick="FilterTicket(0)" href="javascript:;">New tickets in your groups
                                <span class="count-ticket">0</span></a>
                            </li>
                            <li>
                                <a onclick="FilterTicket(4)" href="javascript:;">Pending tickets
                                <span class="count-ticket">@ViewBag.PendingTickets</span></a>
                            </li>
                            <li>
                                <a onclick="FilterTicket(0)" href="javascript:;">Unsolved tickets in your groups
                                <span class="count-ticket">0</span></a>
                            </li>
                            <li>
                                <a onclick="FilterTicket(5)" href="javascript:;">Suspended tickets
                                    <span class="count-ticket">@ViewBag.SuspendedTickets</span></a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div id ="divListTicket" class="span9 ticket-result">
                    @Html.Action("ListTicket", new {statusId = 1 })
                </div>
            </div>
        </div>
    </div>
</div>
